//
//  Car.h
//  Chapt10_CarPartsInit_v10-01
//
//  Created by Ronald Ram on 14/02/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@class Engine;
@class Tire;

@interface Car : NSObject 
{
    //data members or instance variables
    Engine *engine;
    NSMutableArray *tires;
}

-(void) setEngine: (Engine *) newEngine;    //M001:
-(Engine *) engine;                         //M002:

-(void) setTire: (Tire *) tire              //M003:
        atIndex: (int) index;    
-(Tire *) tireAtIndex: (int) index;         //M004:

-(void) print;                              //M005:

@end
